<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Welcome to School Home</title>
<link href="css/home.css" type="text/css" rel="stylesheet" />
<link href="css/school.css" type="text/css" rel="stylesheet" />

<script type="text/javascript" src="js/simple.js"> </script>

</head>
<body onload="check()">
<div id="container">

<div id="header_section">
<jsp:include page="jsp/header/home_header.jsp"></jsp:include>
</div>

<div id="home">
		
	<div style="width: 75%;height:26px; border: 1px solid #007FFF;text-align: center;">
		<jsp:include page="jsp/menu/school_home_menu.jsp"></jsp:include>
	</div>
	
	<div style="float: right; width: 23.5%;height:24px; border: 1px solid #007FFF; margin-top: -28px;">
		<div id="welcome" style="float: right;"><b style="color: yellow;"><i>Welcome! &nbsp;<strong style="color: #FFA500;">Guest</strong></i></b></div>
	</div>

</div>

<div style="width: 1040px; margin: 0 auto;">

<div id="login_div">
<jsp:include page="jsp/homeInfo/login_form.jsp"></jsp:include>
</div>

<div id="main_body">
	<c:choose>
		<c:when test="${requestScope.regSucc == true}">
			<jsp:include page="jsp/homeInfo/register_success.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.newRegistrationForm == true}">
			<jsp:include page="jsp/homeInfo/new_registration.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.examStatus == true}">
			<jsp:include page="jsp/homeInfo/exam_interview_status.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.applicationStatus == true}">
			<jsp:include page="jsp/homeInfo/result_success.jsp"></jsp:include>
		</c:when>
		
		<c:when test="${requestScope.contactUs == true}">
			<jsp:include page="jsp/homeInfo/contact_us.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.career == true}">
			<jsp:include page="jsp/homeInfo/career.jsp"></jsp:include>
		</c:when>
		
		
		<c:when test="${requestScope.regSucc == true}">
			<jsp:include page="jsp/homeInfo/register_success.jsp"></jsp:include>
		</c:when>
		
		<c:when test="${requestScope.adminRegistrationForm == true}">
			<jsp:include page="jsp/homeInfo/admin_registration.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.aboutUs == true}">
			<jsp:include page="jsp/homeInfo/about_us.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.getAdmissionForm == true}">
			<jsp:include page="jsp/homeInfo/student_admission_form.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.admissionRegSuccess == true}">
			<jsp:include page="jsp/homeInfo/admission_form_submitted.jsp"></jsp:include>
		</c:when>
		
		
		
		<c:otherwise>
			<jsp:include page="jsp/homeInfo/welcome_to_school.jsp"></jsp:include>
		</c:otherwise>
	</c:choose>
</div>

<div id="news_section">
	<jsp:include page="jsp/homeInfo/news.jsp"></jsp:include>
</div>
</div>
</div>
<div id="footer_section">
<jsp:include page="jsp/footer/footer.jsp"></jsp:include>
</div>

</body>
</html>